﻿@{
    Layout = null;
}
@using WH.NurseSys.Model
<!DOCTYPE html>

<html>
<head>
    <title>Insert</title>
</head>
<body>
    <div>
        <form action="/Patient/Insert" method="post">
            姓名：<input type="text" name="name" /><br />
            性别：男<input type="radio" name="gender" checked="true" value="1" />  女<input type="radio" name="gender" value="0" /><br />
            年龄：<input type="text" name="age" /><br />
            科室：
            <select name="dept_id">
                @foreach (Dept dept in Model as List<Dept>)
                {
                    <option value="@dept.Id">@dept.Name</option>
                }
            </select>
            <br />
            床号:<input type="text" name="bed_no" /><br />
            负责医生：<input type="text" name="doctor" /><br />
            临床诊断：<input type="text" name="clinic_diag" /><br />
            住院号：<input type="text" name="inpatient_no" /><br />
            <input type="submit" value="保存" />
        </form>
    </div>
</body>
</html>
